package com.boboPlanet.user.enums;

/**
 * @Description: TODO 文件类型枚举
 * @Author: mis_wu
 * @Date: 2023/3/1
 **/
public enum FileTypeEnum {

    JPG(1,"image/jpg"),

    PNG(2,"image/png"),

    WEBP(3,"image/webp"),

    JPEG(4,"image/jpeg")
    ;

    private final String type;

    FileTypeEnum(int id, String type) {
        this.type = type;
    }

    public String getType(){
        return type;
    }

}
